Wrong empty line skipping logic in .po extractor

Raised at least in case when file contains empty line at the end. But problem actual when empty lines located anywhere in .po file.