fix to check existence of rbenv and pyenv commands before loading.