submodule: convert submodule config lookup to use object_id