Updated the scheduled job to include a check for empty content reference...

There was an error in the scheduled job when the GetContentReference returned an empty reference. I just added a is null or empty check to fix it.