[PATCH] Fix unhandled error with bad slavemachine xml file