diff --git a/tests/system/shared/workarounds.py b/tests/system/shared/workarounds.py
index 44e946176dcbe9ef00756ab47fe73a202c847f5c..315b085560ef9393200bd6f9f9fb4ebaa200cbf0 100644
--- a/tests/system/shared/workarounds.py
+++ b/tests/system/shared/workarounds.py
@@ -160,7 +160,7 @@ class JIRA:
             for call in cmdAndArgs:
                 prog = which(call)
                 if prog:
-                    return getOutputFromCmdline("%s %s %s/%s-%d" % (prog, cmdAndArgs[call], JIRA_URL, self._bugType, self._number))
+                    return getOutputFromCmdline('"%s" %s %s/%s-%d' % (prog, cmdAndArgs[call], JIRA_URL, self._bugType, self._number))
             return None
 
         # this function initializes the bug dict for localOnly usage and