Yep, you're right.

I've addressed the check for exit code at 86d24ae, failing fast when the download fails.