Check if database exists before create, properly fixes #27