Make sure repo metadata is updated before any other package when repo conf changes. Fixes #6052
(cherry picked from commit 78aee67a9e8ddb40d10c965ee8ce1ad1389d25f6)
Make sure repo metadata is updated before any other package when repo conf changes. Fixes #6052
(cherry picked from commit 78aee67a9e8ddb40d10c965ee8ce1ad1389d25f6)