Add more failure cases to getHeadRev tests

Unclear if the failure assertions are accurate or not, since they fail
in both CliGit and JGit