[BUGFIX] Initialize $roleRepository correctly
The $roleRepository is set "manually" in initializeRolesFromPolicy() -
only if caches are outdated. But the $roleRepository is needed even if
the caches are up to date, so this breaks.
This change moves the initialization outside the check.
Releases: master, 2.0