fixes another problem with the module iterator (if there was a module named foo, and foo_test, then pyt foo would find both the modules instead of just the test one)