Fix possible NULL deref from Alexey V. Vatchenko <avv@mail.zp.ua>
Fix possible NULL deref from Alexey V. Vatchenko <avv@mail.zp.ua>

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars