diff -uNrp subscription-manager-1.20.11.orig/src/subscription_manager/repolib.py subscription-manager-1.20.11/src/subscription_manager/repolib.py --- subscription-manager-1.20.11.orig/src/subscription_manager/repolib.py 2018-03-13 14:36:33.000000000 +0000 +++ subscription-manager-1.20.11/src/subscription_manager/repolib.py 2018-04-12 19:12:43.177743996 +0000 @@ -955,6 +955,7 @@ class RepoFileBase(object): return self.path_exists(self.path) def create(self): + return if self.path_exists(self.path) or not self.manage_repos: return with open(self.path, 'w') as f: