Avoid creating an additional Package instance for the main project if already loaded. Fixes #87.