Make version-git a little bit more semver-compatible