Fix upload-archives dependencies