diff --git a/execution/lib/cli_parser.py b/execution/lib/cli_parser.py
index 75a1e3ae5f7509b6895ad64301c71093f556769d..afa164322e9959431274cfc2c47e1a2a164af4c2 100644
--- a/execution/lib/cli_parser.py
+++ b/execution/lib/cli_parser.py
@@ -125,8 +125,8 @@ def benchmark_parser(description):
                         help='[mandatory] List of instances used in benchmarks')
     parser.add_argument('--domain-restriction',
                         action="store_true",
-                        default=eval(
-                            os.environ.get('DOMAIN_RESTRICTION', 'False').capitalize()),
+                        default=os.environ.get(
+                            'DOMAIN_RESTRICTION', 'false').lower() == 'true',
                         help='To use domain restriction. For details see README')
     parser.add_argument('--search-strategy',
                         metavar='<strategy>',