[BUGFIX] Adjust constructor function to current Repository class

Same as for the yag repository. The core class has changed so the classes have to be adjusted.