Any chance GetLoadedModules will return null?  Null check?