Semidirect Products and the Pukanszky Condition