a work-around for WAS (8.5) failing on `Dir.chdir` while booting (fixes #170)