INT-4475: Minor refactoring of outcome repository save routine