fix for git recipe

fix for the nil error on mac os x