Fix getting consul config proto, more 1 section.
See merge request !7335 (merged)
(cherry picked from commit 4505fba4)
ad8b537b Fix getting consul config proto, more 1 section. 04289719 Fix typo. 54489c7c Fix black. 6d4edc61 Fix flake.