Fix an error in saving profile

This fixes an error in profile saving, because get_or_create returns a tuple
(object, created).

Testing done: Tested that profile saving works.
Reviewed at https://reviews.reviewboard.org/r/4698/