Fixed issue #1334.

When installing from archives, the proper error message should be logged before exit. On an aside, this is my first pull request, so apologies if it's not formatted properly.