Move __construct after the repository assignment

The configure function is called from the parent::__construct(); so the $this->nameRepository is still empty during the configure. Thats why it should be the other way around.
bug #3934 Move __construct after the repository assignment (cmodijk)

This PR was submitted for the 2.5 branch but it was merged into the 2.4 branch instead (closes #3934).

Discussion
----------

Move __construct after the repository assignment

The configure function is called from the parent::__construct(); so the $this->nameRepository is still empty during the configure. Thats why it should be the other way around.

Commits
-------

f06e49c Move __construct after the repository assignment