Look for database.yml in installer location, too

MSP-10848

#### Verification
 - [ ] in an installer environment,
   - [ ] symlink this branch as /opt/metasploit/apps/pro/msf3
   - [ ] msfconsole
   - [ ] **Verify** No stack trace, msfconsole starts normally