5518: Change the way to connect to github for file comparison when installing patches due to the github api change that causes the failure of the old method.