Improve error reporting for failed installations