This fixes #597 and prevents ValueError being raised when a url is specified without an alias or URI scheme.