fix mistake in error handling for regression test make files