git-cloc.sh: fix a bug that test command will lead to a stdout