Fix parsing of invalid syntaxt Python exceptions

Closes #168

Signed-off-by: Jakub Filak <jfilak@redhat.com>