Adapted software upgrade behavior to SLED 12 (bnc#871174)

- Re-added what was already requested in pull-request #18 and then not added by pull-request #19