cluster: fix nil-dereferencing bug in CreateContainer