Properly strip trailing slashes from virtualenv_directory