For some reason the split line approach, with the exact same version of Mac OS X, Vagrant and VirtualBox, fails on some instances.  Might be an issue with dependency versions, however these should resolve deterministically (thinking xmlstarlet versioning perhaps).