Strip excess git tags from version string