Git receive places the receive pack in a quarantined directory.
It's not possible to update any refs in this directory. This breaks build scripts that fetches from other git repos.
More information about the changes is here:
https://git-scm.com/docs/git-receive-pack#_quarantine_environment
git/git@722ff7f