CRM-14356 - CRM_Core_Session - Guard against unset value