Correct a missing reassignment after reloading repository
Correct a missing reassignment after reloading repository

Previously, code did not save changes made to the existing
repository object.

awwad/uptane,shikhar394/uptane,uptane/uptane,shikhar394/uptane,awwad/uptane,uptane/uptane