don't 500 when xforminstance is missing app_id

https://www.commcarehq.org/couchlog/view/72ea02e4acfeff0ad3e75a394b39a25a/
http://manage.dimagi.com/default.asp?70852#421524