2bff466 atomic: only create new ref if needed

Authored and Committed by dustymabe 7 years ago
    atomic: only create new ref if needed
    
    If ostree_install_ref and ostree_update_ref are the same, as is the
    case for rawhide, then there is no reason to create a new ref. This
    is actually causing failures in rawhide right now.
    
    Having this setup will allow us to have the same configs in rawhide
    and branched where we do need separate install/update ref.
    
    Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
    (cherry picked from commit 5314859831ec488207fc0c9d93eb954e8f89e485)