update badge detection to work with the newer github SSL image proxy