Check profilePicture exists before using it.

Hi, just made a small change to the connect confirmation template to check that profilePicture exists. If RecourceOwner didn't have it mapped in the paths it created a Twig error.