Change the way to detect monit configuration dir

No match.