Handle abort correctly during installation

bnc#893638
same as above.