Reverse SGE poll success logic.

SGE job polling was broken again by #1166.

@matthewrmshin - please review.