title: Local gif didn't show when I updated Kingfisher
body: <p>I updated Kingfisher from 4.10 to 5.7,however,the gif didn't show on imageView with the same code.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>let path = Bundle.main.path(forResource: "loading", ofType: "gif")!
  let resource = ImageResource(downloadURL: URL(fileURLWithPath: path))
  imageView.kf.setImage(with: resource)
  </code></pre>
  
  <p>It's work well with Kingfiser 4.10.</p>