Fix script not working in chroot due to missing /etc/profile