g_sorcery/package_db: fix external dependency convertion
tests/test_DBGenerator
tests/test_metadata