Do not abort on invalid XML

The deletions and build tests would abort if they tried to
parse a file that is not valid XML.

Now a warning message is printed and the check continues.

Change-Id: Idcb0330a5f94dc11c65540ee95ce80711c6853df