Remove repo_name warning

The repo name is considered missing if it is not comming from repo_name.
We can mark it as 'found' then and avoid a lot of warning.

TEST=install portage with this patch -> no more warnings.

Change-Id: I323387353f03d01c27d67a3a9e65457cce257475
Tested-by: Bertrand Simonnet <>
Reviewed-by: Mike Frysinger <>
diff --git a/pym/portage/repository/ b/pym/portage/repository/
index 5e0d055..24c3112 100644
--- a/pym/portage/repository/
+++ b/pym/portage/repository/
@@ -233,6 +233,7 @@
 				# useful when having two copies of the same repo enabled
 				# to avoid modifying profiles/repo_name in one of them = layout_data['repo-name']
+				self.missing_repo_name = False
 			for value in ('allow-missing-manifest',
 				'allow-provide-virtual', 'cache-formats',