If a task name contains a space, the task command is built incorrectly. We should internally replace spaces in the name