TRUNK-4160 ProgramWorkflowService.retireProgram always throws Exception

Please review the changes.

Thanks,
Ujwala.