Fix cache/toolchain creation if cache is not present.