Catch exceptions in more of auto.js.
Supply the app's normalized main module name.