Exclude spaces from auto-generated version labels

Follow-on to: https://www.pivotaltracker.com/story/show/83133872