failback to the local storage on set commands if marked as global

get commands were already honoring the global flag and failing back
to the local storage if unable to connect to the responsible peer.
The same logic is now applied to set/add commands