Fixes #6713: Long names needs to be truncated while listing