The following script seems to work for version 6.2. I'm wondering if someone out there on version 7 can verify that it works for it as well. I had issues with package receipt information being inaccurate so now I'm actually looking for the app info since it's not in a standard location and I don't want to add the Library folder to the paths.
#!/bin/bash
keyserver=`/bin/cat /Library/KeyAccess/KeyAccess.app/Contents/Info.plist | grep -B 1 -m 1 CFBundleDevelopmentRegion | grep string | sed 's/.*<string>(.*)</string>.*/1/'`
echo "<result>$keyserver</result>"