Add another condition for description copy code

In order to display not only the type if the description contains it, I
have added another condition to use the name instead.

Signed-off-by: Konrad Reiche <konrad.reiche@fokus.fraunhofer.de>