[fix] node - new resource instance - add location
[fix] check paths before adding to Module.paths