Moved the cache-check to below the super, as the SHA is not yet known

We had an issue at work where gzip failed because the file was already there. The cause for this issue was that the vendor_cached? was checking without the sha in the file.

By moving the cache-call below the super call, we will know the sha and therefor can do the correct check.