[backend] do not get info of all packages for _repository buildinfo queries