[scripts] some cleanup in inner_chroot_script.sh