Fix AssertDevice checking multiple device names

Change-Id: I4439a3ec155bdd097665c7f6b37d14e25b067db8