autotest: fixed handling for wiki and xml generation