Fix NPE on usermodel account type checking

Change-Id: I964381a896e8c8bf8cce5f19a83fd7c33ef5c9bd