Adding get_pending_packages.sh to API dir