Makes sure no traces of the index config is left behind if acquiring an
index resulted in its configuration to be created, but with an invalid
configuration.