Making sure WebJobs urls can be built when there is no http context.