Update make version to check for git.

This will prevent the version from being set to null if git isn't in the
path.
Update make to not have issues with pausing at the end.
Merge pull request #6816 from steelphase-forks/bleed-ps-make-version

Update make version to check for git.