Handle abort correctly during installation

bnc#893638
I expect check if it return correct value