object: add repository argument to lookup_object