PIM-1718 : avoid to use flexible config for locale and scope in flexible
entity repository