Optimize ClassicCommands.getInstalledSDKs()