[urlpreview] fix for empty settings
Merge pull request #278 from trett/master

[urlpreview] fix for empty settings