Better message for mercurial ignore
Improved lookup for modules