Fix regression related to chaining dirs caused by making '' not become '/'