Revert back the logic to auto generate pkg list.