Protect getValue() for case where the key is missing.

Using GetObjValue() to try to fetch some values out of metadata, if those values don't exist for whatever reason, getValue() crashes.