Fix Hacking rule H302 (import only modules)

Change-Id: Id6407aac9e5a4bdbd730576433032d43dc89f934