Don't return current tag if on a branch.
Merge branch 'hotfix/0.2.2'
Merge tag 'v0.2.2' into develop

Don't return current tag if on a branch.