Issues with glPushMatrix and glPopMatrix

I have a list that requires me to push and pop the matrix in order to properly render a skybox, but I also need to apply dynamic transformations to said cube. Since the list can only be defined once, transforming it within is out of the question. However, because it pushes and pops the matrix, I also can’t transform it before calling it. How exactly do I work around this?