Correct dupe elimination in imported module list