Fix critically wrong DB lookup

DSN lookup was inverted: non-full DSN DB registered as full, leading to
no connections being established at all