git version fix for https://tickets.opscode.com/browse/CHEF-3940