Fix git helper scripts to use root vs pi user where necessary.