Avoiding error when the URL is nil.