Curtin install_grub.py not fully updated for RHEL 10

I noticed that the update to curtin that added support for RHEL 10 missed a line:

So it is failing for me when I try to install to a proxmox vm via maas.
Hopefully that can get a quick fix.

Brian Andrus