revised _ExtensionFinder in a much cleaner fashion

and it now works as expected.