fix for inproper exit-code on spec failures