Fix checking XML response for failure

`simplexml_load_file` will [return false on error](http://php.net/manual/en/function.simplexml-load-file.php), not null.