Fail earlier if we get a null URL.