[JENKINS-21536] fix GIT_BRANCH value

https://issues.jenkins-ci.org/browse/JENKINS-21536