REST API privileges endpoint returns deleted repositories (BB-5697)

Issue #4660 resolved
Oz Linden
created an issue

== What I did: == GET

== What I expected == json response with all existing repositories that had individual access rights configured.

== What I got == The returned list had all the repositories I expected, but also has entries for repositories that have been deleted (for example lindenlab/snowglobe)