I have misplaced my log for this, but it is easy to reproduce: configure offloading on master and build-machine, comment the entire content of the file which holds the build-machines, run "guix build hello" and see the error.
This should even work when you haven't configured offloading, just with an empty machines file.