Return if gets from stdin returns nil