errors.Is
This fixes the `TestDiffArtifact` unit test. Signed-off-by: Florian Forster <fforster@gitlab.com>