abstracting determination of system_git_path for OSX and Ubuntu