[backend] use buildroot_pkgs substitution type according to job.chroot
For custom chroots, replace all there is with buildroot_pkgs.
For other chroots, add buildroot_pkgs to the value being there.
Probably we could unify regular expression for custom and distro chroots.