Fatal error from remote when pushing to puppet

I just tried to push a small change to puppet. I was able to push, but then got this output

git push origin master
Enumerating objects: 13, done.
Counting objects: 100% (13/13), done.
Delta compression using up to 12 threads
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 627 bytes | 627.00 KiB/s, done.
Total 7 (delta 4), reused 0 (delta 0), pack-reused 0
remote: Sending notification emails to: torproject-admin-vcs@torproject.org
remote: checkout for stage: production
remote: fatal: detected dubious ownership in repository at '/etc/puppet'
remote: To add an exception for this directory, call:
remote: 
remote: 	git config --global --add safe.directory /etc/puppet
To puppet.torproject.org:/srv/puppet.torproject.org/git/tor-puppet
   98326862..4fa943e1  master -> master

When I ran patn on the server after pushing, my change didn't take effect in puppet. So it seems like whatever this dubious ownership is, it stops one of our git hooks from properly updating puppet.