fix(router): restore check_cmd and grep nginx.conf

We were having issues with router coming up due to "<no value>"
being templated into /etc/nginx/nginx.conf. Thanks @gabrtv.