Workaround cobblerd entering infinite loop when running under a chroot or container

addresses issues https://github.com/cobbler/cobbler/issues/784 and https://github.com/cobbler/cobbler/issues/789