rose task-run --path=: fix incorrect logic.

Bug introduced by 8cc9e78.
Merge branch 'master' into rose-task-run-path.empty
Merge pull request #728 from matthewrmshin/rose-task-run-path.empty

rose task-run --path=: fix incorrect logic.