Fix wrong XML reporting in selfchecks.sh.