[3.8] Fix #1343 Display default name if label is empty