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