SQOOP-936: Classwriter should check if columnNames generated are null before accessing them

(Venkat Ranganathan via Jarek Jarcec Cecho)