That sounds like a problem for your command generator ;-) Like cassandra, certain packages are required for a CC deployment that are not required for a PC deployment, but that doesn't mean you should change the PC dependencies. 

However I'd like to understand what your script is doing, because I have made a similar sounding fix recently and I hope we don't need both. I'll give you a call.