Fix of NJS app running code for case of unknown object type for
non-existing output object.