MDL-45284 behat: Replace wrongly triggered not found exception