hotfix for remote apps to not crash
Merge pull request #2039 from dimagi/cz

hotfix for remote apps to not crash