better handling of automation extract command to detect fail.
Merge pull request #11 from wpottier/issues/#5-bad-extract-result-code-detection

better handling of automation extract command to detect fail.