Handle that the default bootloader entry can sometimes be None (#496618).
In certain upgrade cases, the default bootloader entry will never be set
and so at the point where we write the new bootloader config, we'll hit a
traceback condition. Older versions of anaconda allowed the default entry
to be None here, so we need to do the same.