Fixed a condition where uefi is not defined
Merge pull request #325 from tboerger/feature/uefi-hotfix

Fixed a condition where uefi is not defined