Fix logic to import certain functions from shutils if selinux is
disabled, not just if the selinux python module is unavailable