Not fail on updating parent links

Fixes #8796

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
Merge pull request #9014 from LK4D4/fix_parent_failing

Not fail on updating parent links