Fix a bug where we would corrupt the stuff read from git-rev-list.