[libvirt] [PATCH 05/10] tests: qemucapsprobemock: Simplify and extract skipping of empty lines