CPack/DragNDrop: Avoid crash when locale identifier creation fails

If `CFLocaleCreateCanonicalLanguageIdentifierFromString` fails, stop
gracefully.  Otherwise we crash because `CFStringGetCString` cannot work
with null `CFStrings`.
1 file changed