Ignore bin & debug directory in search function.