msfconsole booting

[#56005352]

Fix enough of cache construction so that msfconsole will boot to the
prompt when using the database.