Fix issues with chrooting before bind-mounting.