fix: tracebacks when installing to an empty installroot (RhBug:975858)