Fix listing packages in cache