eb840c
diff -uNrp anaconda-21.48.22.121.orig/pyanaconda/packaging/yumpayload.py anaconda-21.48.22.121/pyanaconda/packaging/yumpayload.py
eb840c
--- anaconda-21.48.22.121.orig/pyanaconda/packaging/yumpayload.py	2017-04-27 08:09:33.000000000 -0500
eb840c
+++ anaconda-21.48.22.121/pyanaconda/packaging/yumpayload.py	2017-09-04 00:21:23.617491857 -0500
eb840c
@@ -206,6 +206,10 @@ class YumPayload(PackagePayload):
eb840c
         """Save repomd.xml files for later test for availability."""
eb840c
         self._repoMD_list = []
eb840c
         for repoID in self.repos:
eb840c
+            if not self.isRepoEnabled(repoID):
eb840c
+                log.info("Not checking metadata for disabled repo %s", repoID)
eb840c
+                continue
eb840c
+
eb840c
             repo = self.getRepo(repoID)
eb840c
             with _yum_lock:
eb840c
                 repoMD = RepoMDMetaHash(self, repo)