Added protection against ValueError if domain isn't present
Added protection against ValueError if domain isn't present

dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq