python-mode: fix bug when initializing rope projects