improve module-not-found efficiency via cache mutation