Fix the get_collections call for pkgdb-cli branch