Replace `ostree init` with libostree usage.