Fix stack treatment when reporting exceptions
In case of a SyntaxError, there is no "execstring" on the stack
because execution was not even attempted.