Fix finding config file for /dev/stdin

See https://github.com/jshint/jshint/pull/1165