Fixed undo_BuildPkg