Add some rudimentary filtering when generating CPAN package import tests to prevent false negatives.