68ceed5c28
Avoid checking if a map contains a value, given that in the case it's not there, get() will just return an undefined value. And only in such case we need to set the value. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2366>