Fix: $BRANCH is deprecated