Handle abort correctly during installation

bnc#893638