packages: add dpkg -l to check package presence on Debian based system

Add the dpkg -l check to test if a package is installed on a Debian based system