fixed JENKINS-24297 by adding a workaround for JENKINS-24298