do not append a shash on empty paths