Merge "Adding null check for the case when user switcher is disabled (for example in retail mode)."