- support repo_add_arch_local to read the installed package database on arch