MKBOOTIMG: fix detection of empty string

Change-Id: I12f155aee8d782ce6f103e64cceca8c3c8f1bbe5