Parse URL from metadata endpoint