fix: misleading error message when no repo is enabled.