Detect chroot virtualization subtype

Add a check against PID 1 root and current root for chrooted environment.
Merge pull request #17954 from bersace/detect-simple-chroot

Detect chroot virtualization subtype