the awsresponse can be None and that does not mean that the xmlhandler should crash, but checkForErrors expects a valid xml