bb-bootstrap, refactor reboot logic
bb-bootstrap, refactor reboot logic

I'm planning to add another condition to this logic and the conditions
are already getting complex, so instead lets introduce a flag for when
the system should reboot and set it accordingly

zfsonlinux/zfs-buildbot,zfsonlinux/zfs-buildbot