When the UI deletes a repository, it also needs to delete the corresponding distribution on that repository. Otherwise, creating a new repository with the same name is impossible since distribution names and base paths are unique.
relates to
AAH-1776Collection Repository Management - P1 use cases [blocker]
Closed
AAH-2254Repository delete - delete corresponding distribution