V14 bench update error - fatal: couldn't find remote ref develop

Getting the following error with bench update --reset command - to latest version. We are on v14 - git fetch seems to point to upstream develop.

$ find . -name "*.pyc" -delete
$ git fetch --depth=1 --no-tags upstream develop
fatal: couldn't find remote ref develop
ERROR:
Traceback (most recent call last):
  File "/home/frappe/.local/bin/bench", line 8, in <module>
    sys.exit(cli())
  File "/home/frappe/.local/lib/python3.10/site-packages/bench/cli.py", line 127, in cli
    bench_command()
  File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/frappe/.local/lib/python3.10/site-packages/bench/commands/update.py", line 59, in update
    update(
  File "/home/frappe/.local/lib/python3.10/site-packages/bench/utils/bench.py", line 421, in update
    pull_apps(apps=apps, bench_path=bench_path, reset=reset)
  File "/home/frappe/.local/lib/python3.10/site-packages/bench/app.py", line 656, in pull_apps
    bench.run(f"git fetch --depth=1 --no-tags {remote} {branch}", cwd=app_dir)
  File "/home/frappe/.local/lib/python3.10/site-packages/bench/bench.py", line 48, in run
    return exec_cmd(cmd, cwd=cwd or self.cwd)
  File "/home/frappe/.local/lib/python3.10/site-packages/bench/utils/__init__.py", line 155, in exec_cmd
    raise CommandFailedError
bench.exceptions.CommandFailedError

Error was related to india_compliance app. Resolved after following steps listed on thread:

am having the same error on v13, havent installed india specific customization but i have kenya specific customization installed