git-update-cache refuses to add a file where a directory is registed.