(CPR-63) Add requiring pe version

This commit adds the requirement that pe version be given by environment
variable so the mock configs can be generated correctly.