KRACOEUS-8057:removed runtime exception for missing section names

please move this line closer to where the variable is used.