Provide package-build-checkout as a public function

See #1274