Use of uninitialized value in string eq

SWITCH_ASSEMBLY can be undef at times