1020463: content view definition: fix error when adding repo to definition

This change is to fix an error that would occur if the user was
adding another repo to a definition that currently has a puppet
repo assigned.
Merge pull request #3205 from bbuckingham/1020463

1020463: content view definition: fix error when adding repo to definition