Use correct metadata endpoint (fixes #45)