Fix fatal error when identity is not set yet