builder/virtualbox: trim whitespace when getting version