Most notably this commit fixes #1419501 that caused mock traceback when running with --new-chroot. Resolves: #1419501