diff --git a/installsystems/repository.py b/installsystems/repository.py
index 606b7c8c9c2cfbd64d7f26df7263f7cf8108dc21..2763c44221047b5bd30d603c6ef94ee707738ef5 100644
--- a/installsystems/repository.py
+++ b/installsystems/repository.py
@@ -78,6 +78,8 @@ class Repository(object):
                          gid=config.gid, mode=config.fmod)
         # load database
         self.db = Database(config.dbpath)
+        # mark repo as not offline
+        self.config.offline = False
         # create/update last file
         self.update_last()