SCons: Git: move generic part to xpcc.py