Treat null and empty index names and datacenter names the same; fixes #131