Fix project directory path for autoconnection

Closes #189.