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

Sorry I didn't explain myself clearly, what I meant was that the first test would fail with or without the stubs **IF** future updates to the code break this behavior.