In case someone is using the same model but with two different configurations, the current model detection by name can not handle this.
For example, the EliteBook 840 G4 as non-vPro device could be SKU Z2V60EA#ABV but the same model with vPro could be X3V00AV. Because the non-vPro device is missing several BIOS settings (e.g. Intel TXT) and some configuration items are named differently (e.g. HBMA Network card names), trying to use the same configuration both items will not work.
The SKU check should be performed before the name check to allow a special configuration where the SKU matches.
In case someone is using the same model but with two different configurations, the current model detection by name can not handle this.
For example, the EliteBook 840 G4 as non-vPro device could be SKU Z2V60EA#ABV but the same model with vPro could be X3V00AV. Because the non-vPro device is missing several BIOS settings (e.g. Intel TXT) and some configuration items are named differently (e.g. HBMA Network card names), trying to use the same configuration both items will not work.
The SKU check should be performed before the name check to allow a special configuration where the SKU matches.