diff --git a/src/run-policy/run-submit-pol-job.py b/src/run-policy/run-submit-pol-job.py
index f888e9e4811ca56cd1a897e18828a4a1e141f141..d9fdf1728df917adf5a39abcab0a17db1c305599 100755
--- a/src/run-policy/run-submit-pol-job.py
+++ b/src/run-policy/run-submit-pol-job.py
@@ -129,7 +129,7 @@ def main():
     if args['outfile'] is None:
         args['outfile'] = create_default_outfile(args['device'])
 
-    if args['with_dir']:
+    if args['with_dirs']:
         args['policy'] = './policy-def/list-path-dirplus'
     else:
         args['policy'] = './policy-def/list-path-external'