Added additional checks for git-daemon.