Error out when patch fails

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>