Fix selinux in the new tests for the file module.

We had some incorrect logic for when selinux is installed and disabled.