MODULES-1476: Fix fact setting failures if apt-check not present

Also makes it work in the first place. apt-check writes to stderr, not
stdout. We need to process stderr. Should handle both, however.