MULE-7277 Only use additional GlobalVariablesResolverFactory if required.