better exception handling in virtualenv