LPS-47226 clean up trash entries when deleting a repository