Add ignore logic to sub module find implementation.