bugfixes:
  - reboot - use IndexError instead of TypeError in exception