Fix grub2 provider when flushing