build: add error if `chroot --status` fails (#1151)