APT does in fact check if the root of the repo changed and if so does not download anything else and will then notice that the input files have not changed when it's checking if the cache needs rebuilding.
What you're seeing here is some hook that's being run and updating its cache.