fixed autoupgrade mode handling (bnc#885634)