Added null check for profile name
Merge pull request #38 from edx-solutions/mattdrayer/group-name-fix2

Added null check for profile name