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