Trying to fix if condition for behat test execution