ActivityThread.getPackageManager().getPackageInfo() should return null if the package is not found.

Closes #1357.