Increased logging, to help diagnose dodgy metadata URLs.

Part of diagnosing #772