@target might be nil when Identity Map is enabled.

* With Identity Map enabled, NameError might be raised and @target is
  nil. So we should always ensure `@target ||= find_target`.

* Only force reload target when it is stale.
Merge pull request #9600 from larrylv/fix-load-target-with-identity-map-on

@target might be nil when Identity Map is enabled.