Improve break logs in check for branches