41a8a40 Fix problem in module upgrade

Authored and Committed by jmracek 7 years ago
    Fix problem in module upgrade
    
    The pkg attribute from_repo returns '@' + reponame if information in yum_db is
    available. Otherwise it returns reponame (like for available packages).
    
    It also correct content of pkg_spec that is used for module upgrade.
    
        
file modified
+3 -3