[JENKINS-24786] Environment variables are not expanded in git publisher

Fix: Git publisher fails if remote repository configuration contains
environment variables
Minimize diffs
Merge remote-tracking branch 'upstream/master' into master-findbugs-fixes

Conflicts:
	src/main/java/hudson/plugins/git/GitSCM.java