844389 - Revert of content deletion checking removal

It's required to check whether content that is being deleted is not used
by another product.
Merge pull request #1552 from ares/bug/844389-repository_deletion_and_creation

844389 - Revert of content deletion checking removal