better detection for previously installed
don't rehash if erlenv is not installed