bootloader.path is deprecated in 1.5 so had to workound this for caterina-detection