[PATCH] qemuxmlactivetest: Don't segfault when capability XMLs are invalid