Hmmm, somehow I think it should return $null when the token is null.