Revert "Relax the input source duplicate checking"

This is no longer needs since I changed how module unit tests are found.