Avoiding deprecated calls to Run.getEnvironment(); need to pass in a TaskListener.

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