diff --git a/installsystems/repository.py b/installsystems/repository.py
index fdda664d3e15f801dae61fbce5e7a977ac50fbf9..b939875a66b3963b8911d4c4b460a832150a8956 100644
--- a/installsystems/repository.py
+++ b/installsystems/repository.py
@@ -248,7 +248,7 @@ class Repository(object):
         # check corruption of local files
         arrow("Checking corrupted files")
         for f in local_files:
-            fo = PipeFile(f)
+            fo = PipeFile(os.path.join(self.config.path, f))
             fo.consume()
             fo.close()
             if fo.md5 != f: