Fixes not being able to commit file deletions

git version 1.9.1