Fix parsing of invalid syntax Python exceptions

Closes #168

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

mmilata: commit msg typo