Fixed up package_version and cleaned up package_ensure