Prevent git rm from being called when file isn't checked in