Is it worth adding this block, given that it duplicates code used elsewhere (CRepository::Checksum() used also in the check to see whether we should run this job) and doesn't really do much in the way of reducing the time to cancel (most repos have a single directory)