Revert "fixed source formatting, added exception for missing key in config, triggering template_not_found event"

This reverts commit 4e1849fe64bd01534a3ebd20f02dfc2342d81dd2.