support alias for packages. Fixes #542