handle badly formed centos mirrorlist urls
improve logic for finding kernel updates