More reliable Ubuntu and Debian guest detection

When dealing with lxc containers, '/proc/version' will have information
about the host machine kernel that can possibly have information about
an Ubuntu / Debian host, messing up with guest container detection.
Merge pull request #1685 from fgrehm/more-reliable-ubuntu-and-debian-guest-detection

More reliable Ubuntu and Debian guest detection