bootindex: rework add_boot_device_path function