Fix crash when database.yml doesn't exist

#### Verification

 - [ ] rm (or mv out of the way) all your database.yml files, at least these:
   - `~/.msf4/database.yml`
   - `<framework root>/config/database.yml`
 - [ ] start `msfconsole`
 - [ ] **VERIFY** it doesn't blow up