Only set ipa_version fact if we have something to set it to

This also prevents calling strip on a nil value, generating this error:

Could not retrieve fact='ipa_version', resolution='<anonymous>': undefined method `strip' for nil:NilClass