Skip to content

Don't cache `Repository#exists?` value if value is `false`

From https://gitlab.com/gitlab-com/infrastructure/issues/1782#note_31066896:

  1. When already cached, just return it
  2. When not cached, check the value
  3. If true, cache it
  4. If false, don't cache it