Reduce the imports in stgit/main.py