Fix gitlab viewer

Hi,
Introduced earlier GitLab repo viewer does not correctly read saved configuration.
This PR fixes this.