May be we should use `$index->getNamespaceName()`, instead of parsing old index name?