fail gracefully when a domain doesn't have internal or deployment sub docs
Merge pull request #973 from dimagi/meh

fail gracefully when a domain doesn't have internal or deployment sub do...