Fixed package restore