Update SHA1 specific getTagsOnCommit test to expect empty list

Empty repository is not a very relevant test case
Add assertions for state of git repo