Fix git-update-index to work with relative pathnames.