server: if portfolio name already exists send it (closes #290431) [applied]