Fix for broken Behat tests on 1.x branch.