Fix checking XML response for failure
Merge pull request #332 from owncloud/fix-xml-failure

Fix checking XML response for failure