Title: #5845: component: Fix installation on hosts withouc /proc/1/sched.
My host does not have `/proc/1/sched` and this patch fixes the installation exception.
I have not tested the other code path where `ìs_hidepid` is `True`.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5845/head:pr5845
git checkout pr5845