all_gids wasn't emptied when a new package started being downloaded