Proposition A.3.3.9. in Higher Topos Theory is as follows:

Let $S$ be an excellent model category and let $f:C\rightarrow C'$ be a cofibration of small $S$-enriched categories. Then (1) for every combinatorial $S$-enriched model category $A$, the pullback $f^*:A^{C'}\rightarrow A^C$ preserves projective cofibrations and (2) for every projectively cofibrant object $F\in S^C,$ the unit map $F\rightarrow f^*f_!F$ is a projective cofibration.

I am OK with all of the proof after the first sentence, which claims that these two properties are clearly invariant under retracts of $f$. After that, the argument proceeds as usual, by proving the claim for transfinite compositions of pushouts of generating cofibrations.

But it is not at all clear to me why these two properties persist after a retract. For instance, take a retract $D$ of $C'$, given by functors $p:C'\rightarrow D$ and $q:D\rightarrow C'$ such that $pq$ is the identity functor. Say that $f$ factors through a map $g:C\rightarrow D$, so $g$ is a retract of $f$.

Then to show $g^*\cong f^*\circ p^*$ preserves projective cofibrations, it would suffice to show that $p^*$ has the same property. Unfortunately this is usually false. There are a few other ideas that don't seem to work either - is there some nice argument that I'm missing?