Detect SUGAR_ROOT by GITENV_ROOT