Check if title exists and do not display the name when not possible

bug 47387

Change-Id: I3a5aa050df2511c734a66c1e9f69cdba449ea4f5