diff --git a/installsystems/image.py b/installsystems/image.py
index 311890ab86fb841a7e6a4e4d4bc01077c4d41eb6..29922355574d2cec5d90120028f46ec75c461d53 100644
--- a/installsystems/image.py
+++ b/installsystems/image.py
@@ -106,7 +106,6 @@ class SourceImage(Image):
         except Exception as e:
             raise Exception("Unable to set rights on %s: %s" % (pf, e))
         arrowlevel(-1)
-        return cls(path)
 
     def __init__(self, path):
         # check local repository