Will throw property of non-object error if not set.

Fixes errors specialist guild was seeing.

@mikefantini this should fix the errors in the [trello](https://trello.com/c/QJCp6tYz/116-on-ios8-5s-creating-profile-throws-an-exception) card. It doesn't make sense that it was only showing up on iOS-8 though...