Fixes a bug with gnome-reboot.