don't 500 getting xml if _attachments is None

this can happen after copy_domain