Make getObject("", false, obj) return obj rather than undefined.
Matches 1.9 behavior and fixes many dojox/mvc/tests failures.
Refs #16291.