Add patch from https://tickets.puppetlabs.com/browse/MODULES-660

MODULES-660 has a patch in the comment that seems to fix the issue for my installs.  This seems to be a problem for machines running older git such as RHEL/CentOS 6 on git 1.7.x.  This seems to work fine for my testing on both git 1.7.x and 1.9.x
This won't actually work if the upstream branch HEAD is not `master`