behat: change subprocess PATH, instead of creating a function

see #475