core: miniyum: fix http range error when yum cache exists

Change-Id: I8492376ce52908223f2c8e491c4b560059afb2cf
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>