What's the reason for changing the branch we're building from?

Is this script even used any more?