Trim whitespace before parsing raw version