The build-and-deploy scripts run scripts and config from the local checkout but build source files from the tip of the remote branch, so a stale or wrong-branch checkout could silently build with the wrong Gecko version or omni patches.