Removing unnecessary import
* Refactoring of the whole user_dir plugin
* Fix OS_list = [u['remote_os'] for u in kb.kb.get('user_dir', 'os')] #2445