Fixed null pointer in partial config file conversion