header: REFNAMES replaced by BRANCH

REFNAMES seems to be unreliable sometimes, better use BRANCH

tags: documentation