Fix a random crash
I got random crashes from time to time in DSKit. I've investigated the issue and I found that an Unexpectedly found nil while implicitly unwrapping an optional value error could happen at this point:
In this PR I tried to prevent the crash (but not the real issue -> that's probably a bigger issue).
I see that CircleCI could not build the changes. The problem is that in my changes I've used Swift 5.7 feature (https://www.hackingwithswift.com/swift/5.7/if-let-shorthand) and CircleCI tries to (very probably) use an older Swift version. So there are 2 possible solutions to this:
- I change my code to be compatible with an older version of the Swift
- You change the settings of CircleCI to be able to use Swift 5.7 features
Which way do you prefer? Thanks!

@merzal I have tried to upgrade, but unsuccessfully, let's go with the first option for now.
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Okay, done. @imodeveloper