Fixed some bugs in the dpkg_packages cookbook