Throw exception on duplicate labels

Signed-off-by: Michael Buesch <m@bues.ch>