Update the update metadata job to use upload_folder
# What does this PR do?

This PR updates the `update_metadata` script to stop using `Repository` and use `upload_folder` in its place.
_The documentation is not available anymore as the PR was closed or merged._