discover/grub2: Fix behavior of save_env -f