MDL-62653 behat: Ensure that tasks run properly from behat