Fix rbenv/phpenv installation check