Fixed bug related to package not getting enabled at the secondary level

If package A dependent on B and B if OFF, B will be turned ON if
A is ON but now we to have to recursively turn ON the dependencies
of B as well