JENKINS-23619

updated getTemplateConfigProviders to create a new List instead of using an immutable empty list from Collections.