[entropy.db] initial repository database support for preserved libraries