Add support for checking the installed version of a package prior to downloading it.