Refs #19882 - Safely get current PDF theme