Fix ensure_loaded for local packages.
Remove useless code.
Remove list from hash prior to modifications.
Fixing the failure to report shlib-to-shlib missing dependencies for 'pkg check -B'
The -A option of pkg add/install makes packages automatic not orphan.
Clarify the description of %a query format in pkg-query(8).

The sentence was suggested by Matthew Seaman.
Fix blindly applied patch