That field isn't in your results.
It's Raster.ClassLabelA, not just ClassLabelA. I don't know if this is a server version difference or Pro publishing update thing, but this is what your results look like now. When you do this check if(clickLayerLabel.length > 0), clickLayerLabel is undefined and your popup never opens.