Fix DB __repr__

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