fix installing packages from file (again)