Fixed check for a theme's custom error.hbs, fixes #2513

Checks if the active theme has the property `'error.hbs'` rather than just `'error'`