(bug 43585) Empty labels weren't recognised correctly

Entity::getLabel returns false or a string so testing against false
is the way to find empty labels.

Change-Id: I50b41530d7f2dc95bb4c01741c1a5890cbda39a5
Merge "(bug 43585) Empty labels weren't recognised correctly"