Better ignore syntaxerror stack traces in wheels

This already got stripped just fine for non-wheel installs, but for
wheels, it only stripped the lined where `SyntaxError` was present
leaving the rest of the stacktrace.
Merge pull request #2071 from mattrobenolt/syntaxerror

Better ignore syntaxerror stack traces in wheels