Fetch group id of config file correctly