diff --git a/repos/gems/src/app/sculpt_manager/model/download_queue.h b/repos/gems/src/app/sculpt_manager/model/download_queue.h
index 0d317b8928..faa071aa7e 100644
--- a/repos/gems/src/app/sculpt_manager/model/download_queue.h
+++ b/repos/gems/src/app/sculpt_manager/model/download_queue.h
@@ -42,9 +42,9 @@ struct Sculpt::Download_queue : Noncopyable
 
 			if (Depot::Archive::index(path))
 				gen_install_node("index", path);
-			if (Depot::Archive::image_index(path))
+			else if (Depot::Archive::image_index(path))
 				gen_install_node("image_index", path);
-			if (Depot::Archive::image(path))
+			else if (Depot::Archive::image(path))
 				gen_install_node("image", path);
 			else
 				xml.node("archive", [&] () {