backend/labels.py: cleanup

Signed-off-by: Jerome Flesch <jflesch@gmail.com>