Make URL = None when requests can't be imported