diffcore-break: use a goto instead of a redundant if statement