Use long constant in expression computing git version

Low risk change that silences a Coverity warning.
Don't use regular expression replacer for fixed string in git version parsing

Removing "msysgit." from the version string does not require the single 
character wildcard at the end of the string.
Merge commit '65c20e69657aa75caf628167886abbf5d046e1a6' into HEAD