Add fix to detect older puppet versions while setting allow_virtual for > 3.6
Merge pull request #142 from eshamow/fix_accidental_deprecation

Add fix to detect older puppet while setting allow_virtual for > 3.6