Fix rbenv detection.