As stated in quattor/template-library-core#152, a UEFI boot partition should have both boot and esp flags to be label-type independent. Template library should be updated to set these flags instead of the GPT-specific bios_grub after quattor/template-library-core#153 is merged.