Fix license generating by ignoring empty lines.