Description of problem:
Mirroring to an enclave fails with duplicate channel error for operators like below.
level=fatal msg="failed to load or rebuild cache: failed to rebuild cache: build package index: process package \"container-security-operator\": package \"container-security-operator\" has duplicate channel \"stable-3.15\""
Version-Release number of selected component (if applicable):
4.20 and other supported versions
How reproducible:
100%
Steps to Reproduce:
1. Mirror to a registry from source with imageset consisting of a few operators
2. Try mirroring to an enclave from the mirror registry
3. It fails with the said error
Actual results:
Miroring fails with duplicate channel for some operators as the catalog.json created for the operators contain duplicate channel
Expected results:
Mirroring should complete without the error
Additional info: