Fix debian regression bug and add support for debian environments with unknown runlevel