Ensure that the unknown repository error is not shown on initial pageload

On the initial pageload of ui/#/jobs, there is no repo set in the URL, so the error for "Unknown repository" is shown briefly before it redirects to the default (mozilla-central) repo.

This adds a check that a repo is selected at all before showing the unknown repo error.