basis.entity: fix resolving by entityType wrapper when both arguments are equal