fixes #4682 - smart variable for a puppet class not showing in UI