Hm. I tried it in my server.
It only activates when there are zombies around, but then it guns for me, not the zombie.
Test: Placed zombie witch spawn in one direction and my spawn in the other.
When the minigame started, the sentry turned and shot me.
Errr...
CONSPIRACY! THE ROBOTS ARE TAKING OVER!