Add debug message for repo upgrade sql.