make_base_directories(): allow multiple path with the same directory in the same batch