Fix redirects for repo_group 0
Fix redirects for repo_group 0

This is a follow up of #1056 with a fix for repo_group set to 0,
which means not specified

Signed-off-by: Ivana Atanasova <86e73595f14df5226ef437d57671288872a8681c@iyovcheva-a02.vmware.com>

OSSHealth/ghdata,OSSHealth/ghdata,OSSHealth/ghdata