Fixing issue in pkg.py related to adding the hold support.

Fixing issue in pkg.py related to adding the hold support.