Fixed bug where virtualenvs were not always bound to their app directory