Fix to act on root packages rather than its alias - fixes #45

Reported by @nateevans and @jeremylivingston.

Fixes #45.