Minor fix for checking if the role is present or not, before uppercasing
Minor fix for checking if the role is present or not, before uppercasing

Royal-Society-of-New-Zealand/NZ-ORCID-Hub,Royal-Society-of-New-Zealand/NZ-ORCID-Hub,Royal-Society-of-New-Zealand/NZ-ORCID-Hub,Royal-Society-of-New-Zealand/NZ-ORCID-Hub