The issue was introduced in #9100 / #9316 .
6aba75db#diff-1122d19f2eb2acdcfa7d7093b81b18e9R177
A private registry's hostname is being resolved without using proxy, which obviously fails when direct connection to DNS is unavailable.
On v1.3.1 it's still fine.