This line is important to keep as you would like to include servername and case once you are enrolled. Till then this value is not set.

If else is necessary to keep as PZP when not enrolled ca value is not present and empty.