diff -uNr subscription-manager-1.27.2.orig/src/subscription_manager/repofile.py subscription-manager-1.27.2/src/subscription_manager/repofile.py --- subscription-manager-1.27.2.orig/src/subscription_manager/repofile.py 2020-04-15 11:01:20.000000000 -0500 +++ subscription-manager-1.27.2/src/subscription_manager/repofile.py 2020-04-25 21:44:05.271150745 -0500 @@ -348,6 +348,7 @@ 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: