mosys: Fix YAML whitelabel logic

The logic was wrong for whitelabels and caused identities to match the
first config with correct sku instead of the correct config with both a
sku and whitelabel-tag match.

TEST=build and test on whitetip/santa and unit tests

Change-Id: Ib8df2f2394be7659d4440c7197fd359e7dde18d4
Commit-Ready: C Shapiro <>
Tested-by: C Shapiro <>
Reviewed-by: Gregory Meinke <>
1 file changed