Detect and enforce the chroot architecture when updating

Thanks to @DennisLFromGA for pointing this out in #398.  @drinkcat: any thoughts?