sc.py now searches backwards for .git to determine the project root