might want to name this something like get_installed_package_version for clarity.