Otherwise when repo_pkg_cache_enabled is false and repo_pkg_cache_url is https, proxy_check.status will cause an attribute error. Change-Id: Ib0f5326865d11ecbb718e586441c4f7c2a754c9d