Investigating bug in if condition for behat test execution