Update edit-chroot

Incorporate lates notes from @dnschneid pertaining to code simplification.