Fix logged method in NameTableStore::getName