Fixes checkin-checkout behaviour for packages.