fix baseexception not correctly treated

See https://github.com/drslump/pyshould/issues/20