core: Consistently use local reference to access()

Follows-up 3b53b75160.