fix for JENKINS-24045 allow specification of docker registry url