Add some basic exception handling to check_xpect

If we hit a HTTP error while trying to retrieve expectation details we
now handle it gracefully instead of bailing out with a stack trace.