Fix exceptions on ExternalSourceModules