fix(confd): simplify check_cmd and fix grep usage

Changes the confd check_cmds to properly use the pre-templated
{{ .src }} file and fixes a misuse of grep.