[solo.commands.rescue] fix "equo rescue generate"

The database file was not written on disk because Entropy forwarded
any API call to the in-RAM database. If we generate a generic repository
and then reload the entropy installed packages one everything will work
as expected.
Merge remote-tracking branch 'upstream/master'