Fixed the issue

Added a check to see if the field is available at all before checking
for a uri.