Fix `rbenv install --list` for definitions auto-discovery

Simpler approach + tests that closes #625

/cc @parkr