[packagedb-cli/pkgdb2] Fix the get_collections call for pkgdb-cli branch