Use title name for the library, if available.

If there’s a title specified, it’s used instead of the path.
If neither’s available, the element isn’t shown at all.