Test excluding files non-locally