Automatically exclude target dir