def METHOD_NAME(url):
    """
    remove the saltenv query parameter from a 'salt://' url
    """
    if not url.startswith("salt://"):
        return url, None
    path, senv = parse(url)
    return create(path), senv