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

...on

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.