Test for venv as directory, not file.