Fix crash when room doesn't exist in getIdentity()