Fixed #47 handle excluded directories in inspection