bin/chroot-maint: Update the path correctly when following a symlink.