fixes #6856 - API v2 - more efficient import puppetclasses for single environment