t/lib-git-daemon: fix signal checking