pip bug with new versions of git

Just got bit by the pip bug that this commit fixes, which affects pip users with the newest versions of git. If you're having trouble installing a git requirement in pip because of a git rev-parse error, just update to the dev version of pip. pip install -U pip==dev.