Fix an DOMDocument error with NoseTestEngine running on PHP 7
Fix an DOMDocument error with NoseTestEngine running on PHP 7

Summary:
In php 7, DOMDocument::loadXML emits an error when supplied with
an empty string as input. For example, I got this error:

  ERROR 2: DOMDocument::loadXML(): Empty string supplied as input

This change simply checks for empty and returns an empty array
rather than attempting to parse an empty xml document.

Test Plan: ran `arc diff` on a repo that uses nosetestengine

Reviewers: #blessed_reviewers!

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D16672

r4nt/arcanist,uber/arcanist,r4nt/arcanist,phacility/arcanist,Khan/arcanist,folsom-labs/arcanist,uber/arcanist,phacility/arcanist,phacility/arcanist,codelabs-ch/arcanist,phacility/arcanist,r4nt/arcanist,fivestars/arcanist,folsom-labs/arcanist,aik099/arcanist,chundongwang/arcanist,codelabs-ch/arcanist,chundongwang/arcanist,r4nt/arcanist,phacility/arcanist,codelabs-ch/arcanist,folsom-labs/arcanist,chundongwang/arcanist,fivestars/arcanist,Khan/arcanist,folsom-labs/arcanist,fivestars/arcanist,aik099/arcanist,uber/arcanist,Khan/arcanist,aik099/arcanist,chundongwang/arcanist,aik099/arcanist,fivestars/arcanist,codelabs-ch/arcanist,codelabs-ch/arcanist,Khan/arcanist,uber/arcanist