Fixed install logs being deleted on failure