[Bug 445822] can't remove a repository if somebody else links to it