Sorry for the delay, this is fixed now. We now mirror flashrom on source.puri.sm to ensure this won’t break in the future if upstream changes something, and I updated the script.
For older scripts (e.g. if you need to downgrade firmware for some reason), substituting master to main is a reasonable workaround. The script will check out the specific commit that was tested anyway, so the branch cloned is not very important.