Fix CURRENT_BRANCH vars on pull requests