Handle more errors in release script.