[JENKINS-21016] do not actually need to replace path with forward slashes, so revert.  More importantly need the credentials on a single line so that the git command can read successfully