#576 Added repository, when creating an instance of DefaultOptionService