don't fail if no domain object
don't fail if no domain object

Sentry issue: [COMMCAREHQ-BX2](https://sentry.io/dimagi/commcarehq/issues/585567275/)

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