Fix package:upload task.