Support setting pwd from task definition - fix #1