fix patch not work bug and add default noproxy

Change-Id: I52b7bc06ccd61d28189821c1d1d301aed58648b8