diff --git a/lib/config/index.js b/lib/config/index.js
index 2ac2e8409d63526bd318f1448b64e93c4e4ebd68..94b9f09ab68b9cf3b96bc063fa9b63acee1774fe 100644
--- a/lib/config/index.js
+++ b/lib/config/index.js
@@ -74,7 +74,7 @@ async function parseConfigs(env, argv) {
       config.token,
       config.endpoint
     );
-    if (!config.repositories || config.repositories.length === 0) {
+    if (!(discovered && discovered.length)) {
       // Soft fail (no error thrown) if no accessible repositories
       logger.info(
         'The account associated with your token does not have access to any repos'