Fix chroot prefs handling