fix broken detect path
Merge branch 'harp-root-env'