Check for the existence of `git` instead of `hg`
Check for the existence of `git` instead of `hg`

Although this script checks whether Mercurial is available in the local path,
it isn't subsequently used. Git is though, so that should be checked for early
instead.

signalfx/metricproxy,signalfx/metricproxy