IDE-1462 Add the check for if sdks is empty then called clearSDKs()