Fix installation of package from file detected as not installed

We have to get package name before we check if it's installed.

Edited by Vojtech Myslivec

Merge request reports

Loading