diff --git a/image_creator/dialog_menu.py b/image_creator/dialog_menu.py
index 4f079d6cf36884afcc3ecb3292f5afd0c3cba5a7..dbf454b9c40b00eb743c06d11a8d17b31750d275 100644
--- a/image_creator/dialog_menu.py
+++ b/image_creator/dialog_menu.py
@@ -647,6 +647,10 @@ def exclude_tasks(session):
             displayed_index += 1
         index += 1
 
+    if len(choices) == 0:
+        d.msgbox("No configuration tasks available", width=WIDTH)
+        return True
+
     while 1:
         text = "Please choose which configuration tasks you would like to " \
                "prevent from running during image deployment. " \