[#727] Check that surveyGroupId is non-null before trying to list locales by surveyGroupId.
Merge pull request #728 from akvo/issue/727

[#727] Check that surveyGroupId is non-null before trying to list locale...