Fail the source installation if there is an error on the way

In response to #595