This is a bug reported by Joseph Petersen. We need to report the user to use fully qualified url as Jenkins url.
This is done by throwing exception