If a module has no path setting, return an error.