fix for when Bundle Identifier is over 47 characters and nil uipasteboard is returned, which would result in a crash