ci: Prune old distfiles, use per ref distfile caches
Two commits to ensure distfiles aren't kept too long and merge request don't interfere with each other or master. Both are to make the manifest check more reliable and meaningful by preventing pitfalls where false positives or negatives are created.