20661 - Util#versioncmp fails in some cases

The versioncmp helper failed to correctly compare 1.2.10 and 1.2.8
but this has already been fixed in Puppet where we got our logic
from first so we're just grabbing whats in Puppet now to resolve
this