Halt build on YAML error without jinja2

This fixes the issue described in both #247 and #137 by detecting parse errors related to "{{" inside a YAML file.  The major reason for those to be there is when doing template work.
Or reraise the exception as RuntimeError, and it will be caught higher up and used in sys.exit automatically.