Add check for dpkg since automatic-kernel-upgrade only works for Debian/Ubuntu-based distros