[backend] bring reposerver's getbuildinfo in sync with scheduler

The prereqs were handled differently: the scheduler only uses them
when doing build expansion.