build/repositories: do not register multiple times rhn in add_rhn_repository when in a nested call