Fixed #23611 -- update_or_create failing from a related manager

update_or_create from the RelatedManager would cause an IntegrityError
since the instance was missing in the kwargs.
Comment not really helpful, consider removing from `get_or_create` as well.