Catch errors when form fields are empty.
Merge pull request #3501 from dimagi/fix-empty-app-import

Catch errors when form fields are empty.