fix for https://github.com/cpan-testers/CPAN-Reporter/issues/20

Call and exhaust the while(<>){} loop as early as possible, so
checked modules using <> itself do not cause problems here.