fix after review https://github.com/develar/kotlin/commit/70695297b915488283d95a20053abf7b340d9fab#commitcomment-2687215

It's unnecessary check because we can have classes with equal name from different package.