Exactly right. Einstein had no idea what the physical mechanism behind the CC might be (and we still don't). It was just something he threw into the equations because he believed the universe was static, and the only way to make GR support a static universe is with a non-zero CC.