get_selected_boot_partition() now follows the same basic logic as the bootloader to find the default boot partition.