vala: call get_package_name() in installed_version
Don't check the field _package_name, which may be null at the time installed_version is accessed. This fixes a bug where Vala wouldn't generate errors when using symbols that are unavailable for a package version.
Edited by Princeton Ferro