Fixed gameStackItemName return value
sometimes the stackName could be undefined, now it's
checked for.