Fix submodule and python 3.3 problem

This should address issue #654 seen in Python 3.3 powerline version
where 'cd'-ing into a directory throws a python exception.