1021893: Use different algorithm to parse puppet module version