bug fix: set vendor when constructing db instance from "external" connection