Moved setter before getter and added @inheritDoc
Merge pull request #1523 from deguif/master

Moved setter for repository before getter in BasePackage class