[Bug 345644] webclient: inserting duplicate repository not handled