Improvement in GetPlatform by folder (unpacked package)