[FIX] tools: empty name
[FIX] tools: empty name

Check if name isn't empty before executing regex. xlsxwriter can handle
an empty name.

opw-769163
Closes #18877

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo