@wedaly I think you want to sys.path.insert(1,foo)?
That seems to be the standard way for prepending a dir to the python path.
See http://docs.python.org/2/library/sys.html#sys.path