Allow superusers to access private repositories.

Trivial patch to allow superusers access to all repositories.

Fixes bug 3118.