Fix model import
Fix and enhance prepare task for netdicovery and network inventory