[FIXED JENKINS-19653] expand branch name during poll