[index] Add indexable validity assertion check to pack-create.