Change hard-coded git path in the mac osx factory

Prepend /usr/local/git/bin to the PATH instead of using the hard-coded
path. This allows use of the same factory for multiple mac os versions