add get_tenant method to url_policy.py