I think we should replace this and `get_url_path_from_location` with `AssetLocation.from_deprecated_string` with the changes I noted there to make it work.