[releng] fix up the if statement