do not rely on visit_unexpected raising an exception

fixes https://app.getsentry.com/travis-ci/travis-api/group/37318797/