Add target directory on ignore list.