Fixes #6776/BZ1122254: update table when repository modified.

The row in the product repositories table was not being updated
when the corresponding repository was updated.  This commit updates
the row that matches the changed repository.

http://projects.theforeman.org/issues/6776
https://bugzilla.redhat.com/show_bug.cgi?id=1122254
Merge pull request #4482 from waldenraines/6776

Fixes #6776/BZ1122254: update table when repository modified.