Fix index generator for apt/yum packages Upstream-commit: 6b70964fea1e2b7182ed8aef2577a8a74d8accd3 Component: engine