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

Bug introduced by 8cc9e78: `--path=` is not doing a reset and the prepend ordering is wrong.

This change should fix the problem.