Log the correct root path, prevent NPEs