You tried to register a dependent repository with a global repository. Only independent repositories can be registered with a global repository.
If the repository should be registered with a new global repository, unregister the repository from the original global repository. Then register with the new global repository.