Fixes #416

Refresh packages during init process