grub2: fix using wrong directory in certain cases
resubmission of an old never merged patch, see commit message for details
Closes: #952843
Edited by Lyndon Brown
resubmission of an old never merged patch, see commit message for details
Closes: #952843