Road riding if I assess stuff as a serious risk to traffic I park up and walk back. (Not on high traffic roads where risk to self is equated too high)
It has to be done strategically though as any car item impact can spell danger, as we well all likely know every time we pass even a small can in the road.