avoid extra .strip() in version.py
Merge pull request #4732 from hulu/pre-strip-git-version

avoid extra .strip() in version.py via trivial refactor