yeah, I found that too - it is fixed on the branch I am working on now - it should call loaders.environment_loader.load not puppet_system_loader. Suggest merging as is, because there are additional problems with the environment loader in several situations (also fixed on the branch I am working on now).