MDL-58428 behat: Fix regression of MDL-49399.