Fix lastchange.py when running on native win32 python
Fix lastchange.py when running on native win32 python

When running as runhooks, it's not run via cygwin like it was when run in the build, and isn't able to find git. I believe the test that checked for both cygwin and win32 before was incorrect (but was always run via cygwin before so didn't matter).

Additionally, when runhooks runs it, it's from above src/, so the cwd isn't in the repo. So, pass in the directory of the script itself so that git can find its repo.

BUG=112264

Review URL: https://chromiumcodereview.appspot.com/9317037

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@120089 0039d316-1c4b-4281-b951-d872f2087c98

mogoweb/chromium-crosswalk,Chilledheart/chromium,M4sse/chromium.src,anirudhSK/chromium,zcbenz/cefode-chromium,ChromiumWebApps/chromium,keishi/chromium,axinging/chromium-crosswalk,ondra-novak/chromium.src,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,hgl888/chromium-crosswalk,hgl888/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,chuan9/chromium-crosswalk,bright-sparks/chromium-spacewalk,keishi/chromium,hujiajie/pa-chromium,dushu1203/chromium.src,fujunwei/chromium-crosswalk,dednal/chromium.src,hgl888/chromium-crosswalk,dednal/chromium.src,crosswalk-project/chromium-crosswalk-efl,nacl-webkit/chrome_deps,TheTypoMaster/chromium-crosswalk,zcbenz/cefode-chromium,timopulkkinen/BubbleFish,junmin-zhu/chromium-rivertrail,pozdnyakov/chromium-crosswalk,junmin-zhu/chromium-rivertrail,ChromiumWebApps/chromium,crosswalk-project/chromium-crosswalk-efl,markYoungH/chromium.src,rogerwang/chromium,anirudhSK/chromium,dednal/chromium.src,jaruba/chromium.src,hgl888/chromium-crosswalk-efl,ltilve/chromium,junmin-zhu/chromium-rivertrail,Jonekee/chromium.src,keishi/chromium,anirudhSK/chromium,littlstar/chromium.src,Jonekee/chromium.src,bright-sparks/chromium-spacewalk,Chilledheart/chromium,fujunwei/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,zcbenz/cefode-chromium,PeterWangIntel/chromium-crosswalk,junmin-zhu/chromium-rivertrail,timopulkkinen/BubbleFish,keishi/chromium,timopulkkinen/BubbleFish,dushu1203/chromium.src,anirudhSK/chromium,markYoungH/chromium.src,hujiajie/pa-chromium,chuan9/chromium-crosswalk,zcbenz/cefode-chromium,hujiajie/pa-chromium,keishi/chromium,Just-D/chromium-1,pozdnyakov/chromium-crosswalk,patrickm/chromium.src,Chilledheart/chromium,PeterWangIntel/chromium-crosswalk,mogoweb/chromium-crosswalk,krieger-od/nwjs_chromium.src,rogerwang/chromium,patrickm/chromium.src,junmin-zhu/chromium-rivertrail,dednal/chromium.src,hujiajie/pa-chromium,hgl888/chromium-crosswalk-efl,dushu1203/chromium.src,crosswalk-project/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,fujunwei/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,Jonekee/chromium.src,rogerwang/chromium,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,ondra-novak/chromium.src,ltilve/chromium,M4sse/chromium.src,junmin-zhu/chromium-rivertrail,Just-D/chromium-1,junmin-zhu/chromium-rivertrail,patrickm/chromium.src,patrickm/chromium.src,ltilve/chromium,ltilve/chromium,nacl-webkit/chrome_deps,pozdnyakov/chromium-crosswalk,Just-D/chromium-1,markYoungH/chromium.src,hujiajie/pa-chromium,axinging/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,chuan9/chromium-crosswalk,Just-D/chromium-1,ondra-novak/chromium.src,robclark/chromium,mohamed--abdel-maksoud/chromium.src,bright-sparks/chromium-spacewalk,dednal/chromium.src,M4sse/chromium.src,rogerwang/chromium,jaruba/chromium.src,Chilledheart/chromium,robclark/chromium,patrickm/chromium.src,keishi/chromium,zcbenz/cefode-chromium,M4sse/chromium.src,markYoungH/chromium.src,pozdnyakov/chromium-crosswalk,axinging/chromium-crosswalk,anirudhSK/chromium,ChromiumWebApps/chromium,patrickm/chromium.src,zcbenz/cefode-chromium,Just-D/chromium-1,keishi/chromium,anirudhSK/chromium,nacl-webkit/chrome_deps,ChromiumWebApps/chromium,robclark/chromium,zcbenz/cefode-chromium,fujunwei/chromium-crosswalk,anirudhSK/chromium,Pluto-tv/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,chuan9/chromium-crosswalk,ChromiumWebApps/chromium,hujiajie/pa-chromium,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk,hujiajie/pa-chromium,PeterWangIntel/chromium-crosswalk,Pluto-tv/chromium-crosswalk,nacl-webkit/chrome_deps,anirudhSK/chromium,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,littlstar/chromium.src,Fireblend/chromium-crosswalk,Chilledheart/chromium,Just-D/chromium-1,mohamed--abdel-maksoud/chromium.src,axinging/chromium-crosswalk,Fireblend/chromium-crosswalk,krieger-od/nwjs_chromium.src,pozdnyakov/chromium-crosswalk,bright-sparks/chromium-spacewalk,markYoungH/chromium.src,bright-sparks/chromium-spacewalk,hujiajie/pa-chromium,fujunwei/chromium-crosswalk,dednal/chromium.src,Pluto-tv/chromium-crosswalk,littlstar/chromium.src,axinging/chromium-crosswalk,Chilledheart/chromium,zcbenz/cefode-chromium,littlstar/chromium.src,jaruba/chromium.src,hgl888/chromium-crosswalk,markYoungH/chromium.src,Chilledheart/chromium,jaruba/chromium.src,markYoungH/chromium.src,M4sse/chromium.src,Jonekee/chromium.src,axinging/chromium-crosswalk,nacl-webkit/chrome_deps,keishi/chromium,anirudhSK/chromium,mohamed--abdel-maksoud/chromium.src,crosswalk-project/chromium-crosswalk-efl,Just-D/chromium-1,ltilve/chromium,Jonekee/chromium.src,robclark/chromium,pozdnyakov/chromium-crosswalk,timopulkkinen/BubbleFish,Jonekee/chromium.src,krieger-od/nwjs_chromium.src,ltilve/chromium,Pluto-tv/chromium-crosswalk,dushu1203/chromium.src,keishi/chromium,Just-D/chromium-1,PeterWangIntel/chromium-crosswalk,dednal/chromium.src,pozdnyakov/chromium-crosswalk,mogoweb/chromium-crosswalk,chuan9/chromium-crosswalk,fujunwei/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,hgl888/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,M4sse/chromium.src,fujunwei/chromium-crosswalk,timopulkkinen/BubbleFish,jaruba/chromium.src,littlstar/chromium.src,ondra-novak/chromium.src,robclark/chromium,M4sse/chromium.src,dednal/chromium.src,ondra-novak/chromium.src,crosswalk-project/chromium-crosswalk-efl,nacl-webkit/chrome_deps,krieger-od/nwjs_chromium.src,timopulkkinen/BubbleFish,krieger-od/nwjs_chromium.src,hujiajie/pa-chromium,Pluto-tv/chromium-crosswalk,dednal/chromium.src,hgl888/chromium-crosswalk,chuan9/chromium-crosswalk,junmin-zhu/chromium-rivertrail,ChromiumWebApps/chromium,hgl888/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,Just-D/chromium-1,dednal/chromium.src,TheTypoMaster/chromium-crosswalk,junmin-zhu/chromium-rivertrail,ondra-novak/chromium.src,M4sse/chromium.src,mogoweb/chromium-crosswalk,robclark/chromium,Jonekee/chromium.src,bright-sparks/chromium-spacewalk,Chilledheart/chromium,mohamed--abdel-maksoud/chromium.src,robclark/chromium,keishi/chromium,TheTypoMaster/chromium-crosswalk,rogerwang/chromium,dushu1203/chromium.src,junmin-zhu/chromium-rivertrail,patrickm/chromium.src,fujunwei/chromium-crosswalk,Fireblend/chromium-crosswalk,patrickm/chromium.src,pozdnyakov/chromium-crosswalk,markYoungH/chromium.src,hgl888/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,anirudhSK/chromium,ltilve/chromium,littlstar/chromium.src,nacl-webkit/chrome_deps,rogerwang/chromium,Pluto-tv/chromium-crosswalk,Chilledheart/chromium,bright-sparks/chromium-spacewalk,nacl-webkit/chrome_deps,dushu1203/chromium.src,Fireblend/chromium-crosswalk,jaruba/chromium.src,M4sse/chromium.src,axinging/chromium-crosswalk,hgl888/chromium-crosswalk,markYoungH/chromium.src,ltilve/chromium,littlstar/chromium.src,jaruba/chromium.src,zcbenz/cefode-chromium,hgl888/chromium-crosswalk-efl,ChromiumWebApps/chromium,timopulkkinen/BubbleFish,dednal/chromium.src,jaruba/chromium.src,markYoungH/chromium.src,ondra-novak/chromium.src,Fireblend/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,keishi/chromium,timopulkkinen/BubbleFish,jaruba/chromium.src,jaruba/chromium.src,nacl-webkit/chrome_deps,M4sse/chromium.src,chuan9/chromium-crosswalk,rogerwang/chromium,krieger-od/nwjs_chromium.src,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk-efl,axinging/chromium-crosswalk,pozdnyakov/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,patrickm/chromium.src,hgl888/chromium-crosswalk-efl,robclark/chromium,ChromiumWebApps/chromium,littlstar/chromium.src,jaruba/chromium.src,junmin-zhu/chromium-rivertrail,axinging/chromium-crosswalk,ltilve/chromium,hgl888/chromium-crosswalk,mogoweb/chromium-crosswalk,rogerwang/chromium,nacl-webkit/chrome_deps,mohamed--abdel-maksoud/chromium.src,markYoungH/chromium.src,timopulkkinen/BubbleFish,mohamed--abdel-maksoud/chromium.src,dushu1203/chromium.src,mogoweb/chromium-crosswalk,krieger-od/nwjs_chromium.src,dushu1203/chromium.src,TheTypoMaster/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,mohamed--abdel-maksoud/chromium.src,Fireblend/chromium-crosswalk,fujunwei/chromium-crosswalk,ChromiumWebApps/chromium,dushu1203/chromium.src,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk,rogerwang/chromium,M4sse/chromium.src,dushu1203/chromium.src,mogoweb/chromium-crosswalk,timopulkkinen/BubbleFish,PeterWangIntel/chromium-crosswalk,rogerwang/chromium,nacl-webkit/chrome_deps,PeterWangIntel/chromium-crosswalk,zcbenz/cefode-chromium,krieger-od/nwjs_chromium.src,zcbenz/cefode-chromium,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,PeterWangIntel/chromium-crosswalk,Fireblend/chromium-crosswalk,hujiajie/pa-chromium,robclark/chromium,Jonekee/chromium.src,krieger-od/nwjs_chromium.src,krieger-od/nwjs_chromium.src,ondra-novak/chromium.src,TheTypoMaster/chromium-crosswalk,ChromiumWebApps/chromium,axinging/chromium-crosswalk,dushu1203/chromium.src,bright-sparks/chromium-spacewalk,hujiajie/pa-chromium,Jonekee/chromium.src,axinging/chromium-crosswalk,ChromiumWebApps/chromium,TheTypoMaster/chromium-crosswalk,chuan9/chromium-crosswalk,ondra-novak/chromium.src,robclark/chromium,anirudhSK/chromium,chuan9/chromium-crosswalk,anirudhSK/chromium,ChromiumWebApps/chromium