[bug] wrong path used as CWD argument to bash resource