Fix uploadArchives task