Fix possible invalid github token when syncing