Issue #1081266 by mikeytown2, tsphethean, Kars-T, jeroen.b, mfb, marcelovani, xandeadx: Avoid re-scanning module directory when a module is missing