modify db adapter select logic, because opsworks doesn't support defalut db config