Fix 500 error when viewing repository if plugin not configured