LPS-40017 Fix exception when user doesn't exist