(#21533) Verify facter doesn't write to stderr

This commit doesn't fix #21533, but it adds an acceptance test to detect
if executing `facter` writes to stdout.