dont try to get swap uuid while writing grub default unless swap exists