Fix extraneous lstat's in 'git checkout -f'