This fixes the indexing of some packages. The most common error is to have a doubly-gzip-compressed file with only one '.gz' extension, which would previously not be detected.