Resolves #42477 Move the platform check into pkg/spec parseLabels so both --dry-run and apply hit the same validation and surface the same error.
pkg directory
This top-level pkg directory contains packages that may be shared between all fleet backend components.