Make git daemon server work

With these 2 commits, git daemon server can work properly.