preload-index: use git_env_bool() not getenv() for customization