Correct a variable error in the Server refactoring

In the process of refactoring the repository access variable I
accidentally left an old variable name, causing crashes in repository
display pages.
This should now be fixed.

I am pushing this directly into the master branch because this error
breaks the web UI and it is a small fix.