Update debian.pp

bug fix
Check defined class apt.