fix GRUB_TERMINAL check (bsc #898609)