git-daemon: move checking to more appropriate place.