sw install now returns False in case of failure, hence last changes reverted back
Merge pull request #25 from vnitinv/fix-TypeError

sw install now returns False in case of failure, hence last changes reverted back