Rendering a Tree with icons fails if no alternate text is given (#11511)

Change-Id: I0ce84b77d5c1590988c2b9472bcf820a959cfd62