Fix incorrect duplicated module search

Hello

Dialyzer sometimes prins incorrect duplicate modules. I wrote mail to mailing list some days ago but not got any reply.

Description of issue: http://erlang.org/pipermail/erlang-bugs/2013-March/003465.html