Properly use the flag for empty pcm generation