Use caret operator for 0.x releases when guessing versions, fixes #3518

Should not be merged until the ^ op is in a release IMO.