fixed issues with repository manager and config loading