Implement FindPackage.