Fix the `git version` parser.

This fixes the Git version parser, which breaks on `git version` output of "git version 1.8.0.msysgit.0".