Fix FEED_PUBLISH permission check bug.

For some reason, when responding to a PACKAGE_ADDED Broadcast to pick up
a new extension, PackageInfo would not be populated with permissions.
Fix this by using checkPermission() instead, which returns the correct
value.

Change-Id: I04535039a38a045ad1a405fe60ec8ccb6e782784