Fix to prevent certain Perl files from being skipped (e.g. scripts without extensions)