def _resolve_group_location(self, group: str) -> str:
        """
        Resolves the location of a setting file based on the given identifier.
        :param group: the identifier for the group's settings file (~its location)
        :return: the absolute path of the settings location
        """
        if os.path.isabs(group):
            possible_paths = [group]
        else:
            possible_paths = []
            for repository in self.setting_repositories:
                possible_paths.append(os.path.join(repository, group))

        for default_setting_extension in self.default_setting_extensions:
            number_of_paths = len(possible_paths)
            for i in range(number_of_paths):
                path_with_extension = "%s.%s" % (possible_paths[i], default_setting_extension)
                possible_paths.append(path_with_extension)

        for path in possible_paths:
            if os.path.exists(path):
                return path
        raise ValueError("Could not resolve location of settings identified by: \"%s\"" % group)