[Concept] [PATCH 01/18] efi: Correct calculate_paths() when an image is used