You probably have something else munged in your settings or profile/system objects as you have "---" in there twice, which is not explicable by just that distro edit command.
yeap - its needed in there twice
Perhaps not an problem we have to solve anyway as we're unlikely to invest in supporting and maintain Xen Enterprise in the codebase.
fair enough - shame though