Make Synology OS detection work in chroot