Ensure version is always a version, not a git rev