Disambiguate the call to "git rev-parse" to ensure it finds only tags
Disambiguate the call to "git rev-parse" to ensure it finds only tags

Motivated by an error that came up during patch processing recently such
that the latest build number (28116) happened to be a prefix of a commit
that already existed in the hscode repository.

HearthSim/hearthstonejson,HearthSim/hearthstonejson,Sembiance/hearthstonejson,Sembiance/hearthstonejson