build: edify: fix multiple device assert

Only generate one error message since multiple error message
will trigger a fail if the device does not match the first
assert

Change-Id: I1dc47cce10032eb28bbb808482b5ee9efc3b87bc