Handle non-zero return codes of the extractor

If it returned with a non-zero one, we don't need to try to open the
JSON file.

Closes #4

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>