Ensure that `user` fields exist before setting them.

Follow-up to 4acfc5c6f