Safely get meta

https://github.com/dimagi/commcare-hq/pull/5077/files#r21791661
it looks like this now crashes if meta exists but username doesn't. i think we should safely get both