This commit unifies the behaviour of displaying no-builds and not-active errors for repo and fixes the error when user can't access repo settings when the project is not active.