MDL-43266 fix behat init crash when filedir doesn't exist