Urls with dashes

If your OpenShift url contains a - (eg: openshift-test.internal.openshift.com) then Jenkins errors out when trying to run a build. (see: https://bugzilla.redhat.com/show_bug.cgi?id=984608 )

This patch allows the build to proceed.