Corrected variable use.

Was getting `name is undefined` when a module was not found. Had it use path instead since that shows what module is not found.