Fix #774: Remove unnecessary queries in ProgramModuleObj.findModuleObject

Removes a for-loop that makes a bunch of queries that are supposed to
"make sure all modules exist" but isn't actually needed because
prog.getModuleViews (which is better-cached) does this already.