Nightly build error (pathspec 'tor-browser-91.2.0esresr-11.0-1' did not match any file(s) known to git)

Building nightly currently fails with the error:

      Error: Cannot checkout tor-browser-91.2.0esresr-11.0-1:
      error: pathspec 'tor-browser-91.2.0esresr-11.0-1' did not match any file(s) known to git

I think this is because f263671b adds the esr part twice.