Quick isset test to prevent fatals.

From #6359.