500 error instead of error view in 0.8.4

`pkg` variables in `_layout.jade` are preventing the errors from showing as of 0.8.4.