SQOOP-1624: Sqoop2: Apply repository upgrader api

Add supported direction check when upgrading connector as well.

(Qian Xu via Abraham Elmahrek)