Check exclusion list when copying directories