Revert "Don't try to uniquify repos"

This reverts commit 73a03178910b3e3ef1eb18940bfb5c3a2637cfe2.
Fix modules lookup