Added check to see if cURL could fetch the XML-file

If cURL fails in retrieving the XML-file, then exit
with a UNKNOWN state.