fix exit code in behat script