refactoring of d51PearPkg2Task_Dependencies_Extension