Raise SuspiciousVersion exception if git branch/tag looks like commit id