change to check existance of /dev/stdin.
change to check existance of /dev/stdin.

Signed-off-by: Chao Li <bbcaf620d85e1cf9e65ec57346414cf1039c2a65@vmware.com>

concourse/concourse,concourse/concourse,concourse/concourse,concourse/concourse,concourse/concourse