Fix "pyenv: version 'system' is not installed" with `pyenv which`

This is a follow-up to de5c61c.