Guard against invalid URL mimedata with no urls
It's possible that the dropped mimedata claims to have urls, but its actual url list is empty. This happens for instance when droppping the url of chromium from its addressbar.
Guard against it to prevent an assert