bug-fix: baremetal env check should be against a string

Change-Id: Ifb3d5bece037c1fc55f943e11a0c82cb6a64497a
1 file changed