imaging: Fix non existing machines bug when applying default location bootmenu