Add hack to get around the "" -> java.net.URL exception (JENKINS-18229)