diff --git a/src/python/dxpy/scripts/dx.py b/src/python/dxpy/scripts/dx.py
index <HASH>..<HASH> 100755
--- a/src/python/dxpy/scripts/dx.py
+++ b/src/python/dxpy/scripts/dx.py
@@ -2973,7 +2973,7 @@ def run(args):
     # workflow with outputFolder already set
     if dest_path is None:
         if is_workflow:
-            dest_path = handler.outputFolder # this could be None
+            dest_path = getattr(handler, 'outputFolder', None)
         if dest_path is None:
             dest_path = get_env_var('DX_CLI_WD', u'/')
Account for when outputFolder is not returned