MDL-46894 make Behat backup steps more robust.