Fixed regression on mono

- Use HOME instead of ProgramFiles
- Removed tracing for replacement attempts
#974