Original:  He determined that the unit's motor needed to be replaced, but didn't have the part on hand.
Updated:  He determined that the unit's motor needed to be replaced, but he didn't have the part on hand.