prevent updating empty certificates path, update #2690