Check if term is returned before getting its name

Prevents a rare notice if the order item meta value is blank
Merge pull request #5464 from tamarazuk/master

Order Item Meta - Check if attribute term exists