Ensure dual stack hosts always use `127.0.0.1` for requests to the `registry` back end. Changelog: fixed