Backport fix for selecting a tool panel section when installing a repository using the API.
Merge stable.