Fix github repo fetch for offline user