I used to have an issue with installing Office 365 offline. The installation failed, when mentioning a branch in the xml file.
You can find a threat from TechNet on this link:
The solution was, not to mention the branch in your xml file.
Last week, Microsoft updated their Office Deployment Tool. Now, the offline installation works fine, even when mentioning the branch in your xml file.