<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_virtualenv_path(self, requirements_option: RequirementsOptions, requirements_hash: Optional[str]) -> Path: """ Returns the path to the virtualenv the current state of the repository. """

        if requirements_option == RequirementsOptions.no_requirements:
            venv_name = "no_requirements"
        else:
            venv_name = requirements_hash

        return Path(self._arca.base_dir) / "venvs" / venv_name