Just installed a fresh pe master. While running pe_r10k for the second time I got the following error:
r10k deploy environment -p -v debug2
[2015-12-03 13:41:10 - DEBUG1] Testing to see if feature pe_license is available.
[2015-12-03 13:41:10 - DEBUG2] Attempting to load library 'pe_license' for feature pe_license
[2015-12-03 13:41:10 - DEBUG1] Feature pe_license is available.
[2015-12-03 13:41:10 - DEBUG2] pe_license feature is available, loading PE license key
[2015-12-03 13:41:10 - DEBUG1] Testing to see if feature rugged is available.
[2015-12-03 13:41:10 - DEBUG2] Attempting to load library 'rugged' for feature rugged
[2015-12-03 13:41:10 - DEBUG1] Feature rugged is available.
[2015-12-03 13:41:10 - DEBUG] Fetching 'git://<server>:7990/scm/ns/puppet.git' to determine current branches.
[2015-12-03 13:41:10 - DEBUG1] Fetching remote 'origin' at /var/cache/r10k/git---<server>-7990-scm-ns-puppet.git
[2015-12-03 13:41:30 - ERROR] Unable to determine current branches for Git source 'mymodules' (/etc/puppetlabs/puppet/environments)
Original exception:
Early EOF at /var/cache/r10k/git---<server>-7990-scm-ns-puppet.git
The strange thing is while I ran r10k for the first time everything went pretty well.