A couple of bug fixes.

* should be *_debian_pkgs instead of *_debian_packages
* removed duplicate task

@jarv some bugfixes missed in the previous PR and review.