-    if (extension.code.length == 0)
+    if (extension.code.length == 0 && bitmap != 1)
        revert Errors.StorageModule_NotContract(extension);
