[Libguestfs] [libnbd PATCH v2 1/5] python: tests: Fix error handling