diff --git a/slapos/grid/slapgrid.py b/slapos/grid/slapgrid.py
index 452feb4249848bced874b84125f98cd1808c3f92..0267301a565952f7d49d97966d65d02e6752513c 100644
--- a/slapos/grid/slapgrid.py
+++ b/slapos/grid/slapgrid.py
@@ -167,7 +167,7 @@ def parseArgumentTupleAndReturnSlapgridObject(*argument_tuple):
     if not mandatory_parameter in option_dict:
       missing_mandatory_parameter_list.append(mandatory_parameter)
 
-  if 'all' in option_dict:
+  if option_dict.get('all') is True:
     option_dict['develop'] = True
 
   repository_required = False