hotfix ota restore 500 with null user_id
Merge pull request #63 from dimagi/cz

hotfix ota restore 500 with null user_id