We need to handle the case when a registered repository is deleted.
We need to handle the case when a registered repository is deleted.