Adapt to further nullpointers from prison
Newer libprison might give nullpointers depending on compilation options. Adapt code to be able to handle that.
Differential Revision: https://phabricator.kde.org/D10628