raise ValueError instead of generating just path when _app_url is provided to request.route_url and the route has an external pattern