Fix getLabel() bug from channel_name_tweaks PR

Critical fix for 4.4.6

To test:
 - Choose an image with no channel names, but *with* channel wavelengths. (Can also choose an image with channel excitation wavelength and save a new name as empty string).
 - This should still display in the right panel.