Fixed missing if else clauses for package: Added dynamic runtime configuration of hotplug values

- Fixes the bug that only 2 cores are used even if the system has more than 2