Why can't the N- end of the nitrile anion attack the alkyl halide in an SN2 fashion during an alkylation reaction when OH- can?
It can.
According to this JACS paper here steric effects are a major factor in whether the ketenimine is formed or the C-alklyated product - the more hindered the nitrile, the more N-alkylation.