change API.getVar

returns an undefined DataObject if value is not in the repository