Improve the error message when we find a module in 2 places; trac #3183