Better error printing, better git handling in AWS