Correcting the if statement for profile.site url

needed to be `profile.site`
Merge pull request #396 from jamiewilson/patch-2

Correcting the if statement for profile.site url