Fix behaviour for GitHub short URLs

This branch fixes the behaviour for packages referenced by GitHub short URLs.

* Update tests fixture to use the latest package version.
* Fix test stub issue causing memory leak warning.
* Add logic to also ignore packages referenced by GitHub short URLs.