Add a way to force a local build

For testing reproducibility builds we need to forbid access to the remote cache, the easiest way to do this is block internet access, currently that's not trivial.

the options currently are either using unshare or creating a special library that drops connections and LD_PRELOAD it, the problem is that neither of those options are a good approach, but a hack.