Reading version number correctly from git