Fix issue where some rbenv commands would fail (shell, rehash..)