Fix local xml setup when using BRANCH!=master