better checking for if databases exist for ini generation

fixes #209

Signed-off-by: Matthew Thode <mthode@mthode.org>