diff --git a/source/app.d b/source/app.d
index 65c3b5a..ba27cc3 100644
--- a/source/app.d
+++ b/source/app.d
@@ -250,7 +250,7 @@
 					}
 				}
 
-				loadSelectedPackage();
+				if (!loadSelectedPackage()) return 1;
 
 				if( print_builds ){
 					logInfo("Available build types:");