Replaces os.linesep with '\n' for git commands
Replaces os.linesep with '\n' for git commands

On windows, `show-ref` and `ls-remote` both use \n as line separators.  Using os.linesep causes the scripts to fail.

gvalkov/jenkins-autojobs,gvalkov/jenkins-autojobs