Fix getting mapping files

I think there is a typo in findMappingFiles() method.
this is probably the reason why usually such code is in a compiler pass. i don't think you may assume that a bundle class has a no-argument constructor.

in the compiler pass, you know that all bundles already are instantiated and can access them.