Returns the version name, or version code when unnamed; null when not installed. Unexpected platform failures are thrown to the caller.