Check the return value of the tarball extraction

Prevents a wrong success message from appearing if the download or
extraction fails.

Addresses exercism/exercism.io#2029