Calculate the Windows user profile directory the same way as msysgit
Calculate the Windows user profile directory the same way as msysgit

On most systems %USERPROFILE% is the same as %HOMEDRIVE%\%HOMEPATH%,
however, for windows machines in an AD or domain environment this
might be different and %HOMEDRIVE%\%HOMEPATH% seems to be better.

Signed-off-by: Sven Strickroth <a88b7dcd1a9e3e17770bbaa6d7515b31a2d7e85d@cs-ware.de>

nacho/libgit2,leoyanggit/libgit2,Aorjoa/libgit2_maked_lib,leoyanggit/libgit2,MrHacky/libgit2,KTXSoftware/libgit2,iankronquist/libgit2,skabel/manguse,sygool/libgit2,sim0629/libgit2,falqas/libgit2,saurabhsuniljain/libgit2,sim0629/libgit2,mcanthony/libgit2,joshtriplett/libgit2,amyvmiwei/libgit2,Corillian/libgit2,chiayolin/libgit2,amyvmiwei/libgit2,Aorjoa/libgit2_maked_lib,MrHacky/libgit2,since2014/libgit2,joshtriplett/libgit2,nacho/libgit2,falqas/libgit2,linquize/libgit2,Snazz2001/libgit2,yosefhackmon/libgit2,joshtriplett/libgit2,KTXSoftware/libgit2,stewid/libgit2,dleehr/libgit2,mcanthony/libgit2,kenprice/libgit2,mcanthony/libgit2,linquize/libgit2,MrHacky/libgit2,raybrad/libit2,linquize/libgit2,ardumont/libgit2,mhp/libgit2,iankronquist/libgit2,iankronquist/libgit2,Corillian/libgit2,stewid/libgit2,evhan/libgit2,raybrad/libit2,mhp/libgit2,t0xicCode/libgit2,oaastest/libgit2,nacho/libgit2,mhp/libgit2,maxiaoqian/libgit2,since2014/libgit2,saurabhsuniljain/libgit2,Corillian/libgit2,mrksrm/Mingijura,KTXSoftware/libgit2,whoisj/libgit2,JIghtuse/libgit2,swisspol/DEMO-libgit2,MrHacky/libgit2,since2014/libgit2,ardumont/libgit2,oaastest/libgit2,linquize/libgit2,sygool/libgit2,rcorre/libgit2,chiayolin/libgit2,chiayolin/libgit2,whoisj/libgit2,mcanthony/libgit2,oaastest/libgit2,jeffhostetler/public_libgit2,skabel/manguse,maxiaoqian/libgit2,Tousiph/Demo1,mingyaaaa/libgit2,falqas/libgit2,claudelee/libgit2,Snazz2001/libgit2,dleehr/libgit2,Corillian/libgit2,Tousiph/Demo1,jflesch/libgit2-mariadb,maxiaoqian/libgit2,Aorjoa/libgit2_maked_lib,Corillian/libgit2,claudelee/libgit2,yongthecoder/libgit2,JIghtuse/libgit2,kissthink/libgit2,jamieleecool/ptest,kissthink/libgit2,skabel/manguse,rcorre/libgit2,joshtriplett/libgit2,iankronquist/libgit2,mrksrm/Mingijura,oaastest/libgit2,skabel/manguse,oaastest/libgit2,joshtriplett/libgit2,nokiddin/libgit2,since2014/libgit2,KTXSoftware/libgit2,raybrad/libit2,spraints/libgit2,spraints/libgit2,kenprice/libgit2,t0xicCode/libgit2,yongthecoder/libgit2,mingyaaaa/libgit2,mingyaaaa/libgit2,KTXSoftware/libgit2,falqas/libgit2,magnus98/TEST,stewid/libgit2,rcorre/libgit2,zodiac/libgit2.js,Aorjoa/libgit2_maked_lib,chiayolin/libgit2,swisspol/DEMO-libgit2,maxiaoqian/libgit2,mingyaaaa/libgit2,mingyaaaa/libgit2,nokiddin/libgit2,claudelee/libgit2,saurabhsuniljain/libgit2,JIghtuse/libgit2,whoisj/libgit2,jeffhostetler/public_libgit2,mrksrm/Mingijura,swisspol/DEMO-libgit2,Snazz2001/libgit2,kenprice/libgit2,skabel/manguse,jeffhostetler/public_libgit2,linquize/libgit2,zodiac/libgit2.js,skabel/manguse,yosefhackmon/libgit2,Tousiph/Demo1,yosefhackmon/libgit2,iankronquist/libgit2,sygool/libgit2,KTXSoftware/libgit2,kenprice/libgit2,amyvmiwei/libgit2,claudelee/libgit2,kissthink/libgit2,amyvmiwei/libgit2,saurabhsuniljain/libgit2,magnus98/TEST,JIghtuse/libgit2,kissthink/libgit2,Tousiph/Demo1,magnus98/TEST,jeffhostetler/public_libgit2,zodiac/libgit2.js,JIghtuse/libgit2,iankronquist/libgit2,dleehr/libgit2,whoisj/libgit2,claudelee/libgit2,nokiddin/libgit2,Snazz2001/libgit2,rcorre/libgit2,ardumont/libgit2,nacho/libgit2,swisspol/DEMO-libgit2,maxiaoqian/libgit2,raybrad/libit2,mhp/libgit2,mhp/libgit2,saurabhsuniljain/libgit2,t0xicCode/libgit2,jflesch/libgit2-mariadb,stewid/libgit2,yosefhackmon/libgit2,jeffhostetler/public_libgit2,stewid/libgit2,kissthink/libgit2,maxiaoqian/libgit2,swisspol/DEMO-libgit2,evhan/libgit2,magnus98/TEST,zodiac/libgit2.js,ardumont/libgit2,mcanthony/libgit2,chiayolin/libgit2,dleehr/libgit2,evhan/libgit2,claudelee/libgit2,sygool/libgit2,falqas/libgit2,mrksrm/Mingijura,kenprice/libgit2,nokiddin/libgit2,spraints/libgit2,jflesch/libgit2-mariadb,mrksrm/Mingijura,mrksrm/Mingijura,Snazz2001/libgit2,jflesch/libgit2-mariadb,leoyanggit/libgit2,stewid/libgit2,rcorre/libgit2,Corillian/libgit2,jflesch/libgit2-mariadb,since2014/libgit2,zodiac/libgit2.js,raybrad/libit2,spraints/libgit2,joshtriplett/libgit2,jamieleecool/ptest,jflesch/libgit2-mariadb,MrHacky/libgit2,t0xicCode/libgit2,sim0629/libgit2,ardumont/libgit2,rcorre/libgit2,magnus98/TEST,mhp/libgit2,leoyanggit/libgit2,jeffhostetler/public_libgit2,MrHacky/libgit2,yongthecoder/libgit2,yongthecoder/libgit2,chiayolin/libgit2,swisspol/DEMO-libgit2,spraints/libgit2,yosefhackmon/libgit2,saurabhsuniljain/libgit2,amyvmiwei/libgit2,sygool/libgit2,t0xicCode/libgit2,t0xicCode/libgit2,since2014/libgit2,falqas/libgit2,kissthink/libgit2,nokiddin/libgit2,sim0629/libgit2,mcanthony/libgit2,Tousiph/Demo1,Aorjoa/libgit2_maked_lib,amyvmiwei/libgit2,whoisj/libgit2,dleehr/libgit2,yosefhackmon/libgit2,leoyanggit/libgit2,magnus98/TEST,evhan/libgit2,oaastest/libgit2,nokiddin/libgit2,yongthecoder/libgit2,sim0629/libgit2,sygool/libgit2,ardumont/libgit2,JIghtuse/libgit2,spraints/libgit2,kenprice/libgit2,Tousiph/Demo1,whoisj/libgit2,yongthecoder/libgit2,Snazz2001/libgit2,dleehr/libgit2,sim0629/libgit2,jamieleecool/ptest,leoyanggit/libgit2,linquize/libgit2,jamieleecool/ptest,mingyaaaa/libgit2