Fix codeowners for sections with the same patterns
What does this MR do and why?
When multiple different sections have the same pattern, they may have an incorrect list of codeowners displayed because we don't take sections into account when we fetch an approval rule for update.
This MR fixes the bug.
Related issue: #329214 (closed)