Remove unused code from PBGitRevSpecifier.
Reduce usage of PBGitRevSpecifier class.