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
Merge pull request #1 from CyanogenMod/cm-11.0

build: edify: fix multiple device assert