Use rootURL when publishedURL is empty or null
As publishedURL cannot be empty, always add comment
Only add message if configuration message is not empty or null