PDTs fire independent of weapon hardpoints being deployed or retracted.
The only way to protect yourself right now is to disable PDT(s) in the MODULES panel, on right.
And yes, I'm now doing this every time I request docking. Turn on ship lights, disable PDTs, request clearance.
I'll drop this extra step once FD make PDT fire in-station a non-issue for station response.
TBH Ive always though that having an offensive capability on a utility point is a bit of a design anomaly, and design anomalies often lead to unintended consequences.