Sanitize a version from a plugin