diff --git a/src/modules/packages/main.py b/src/modules/packages/main.py
index 2413990b473922bd85fe69238125148eef9e0d02..d132c8ce9bad74e32a7bc6fe03bc61618a34de0c 100644
--- a/src/modules/packages/main.py
+++ b/src/modules/packages/main.py
@@ -76,8 +76,9 @@ def run():
     for entry in operations:
         run_operations(pkgman, entry)
 
-    operations = libcalamares.globalstorage.value("packageOperations")
-    for entry in operations:
-        run_operations(pkgman, entry)
+    if libcalamares.globalstorage.contains("pagkageOperations"):
+        operations = libcalamares.globalstorage.value("packageOperations")
+        for entry in operations:
+            run_operations(pkgman, entry)
 
     return None