fix incorrect null check
Merge pull request #1214 from ORCID/fixSourceNullCheck

fix incorrect null check