Check for variations of $is_pe

On recent versions of facter, we need to check for a boolean value, but
to support older versions of Facter, we need to check for a string.