added check if configured puppet modules may be empty