
A previous commit accidentally pushed the code which queries the `PackageManager` to a different method, but then still used the `packageInfo` which was supposed to be populated by that code. This change rectifies this, and in the process also clarifies/documents under what circumstances the `PackageManager` needs to be queried, rather than relying on the incoming intent. Fixes #686.