fix retain-parent

Bad morning...

Signed-off-by: Jan Dvořák <mordae@anilinux.org>