[sr-dev] git:4.0: usrloc: avoid double locking when preloading attributes