[libvirt] [PATCH v3] storage: Check for invalid storage mode before opening