diff --git a/repo.lisp b/repo.lisp
index 6a0f750..9d130d2 100644
--- a/repo.lisp
+++ b/repo.lisp
@@ -163,6 +163,8 @@
;; repository base class
+(defvar *repos* ())
+
(defclass repo ()
((dir :initarg :dir
:reader repo-dir
@@ -353,8 +355,6 @@
'(github-repo-uri-handler
git-repo-uri-handler))
-(defvar *repos* ())
-
(defun clear-repos ()
(setf *repos* nil))