Slightly relax the locking for registry cache lookups.
For read access to Discover.registry we only need to take a read lock.