Rewriting git-exile wrapper script in python