fix(setLogicalName): Affect logical name only if not an empty string or null (refs #5254)
Merge pull request #1382 from eguaj/3.2-A5254

fix(setLogicalName): Affect logical name only if not an empty string or null (fixes #5254)