$G$-colorings of posets, covering maps and computation of low-dimensional homotopy groups