Better handling of exceptions during grub install.