Why are you iterating through all of the `repos`? If the repository is a top level key just reference it directly `flat_exclusions[project]`