Junior assigned to a 10 year old project
reddit.com
reddit.com
More seriously, refactoring a neglected codebase and bringing up to speed with modern tools and best practices is probably one of the useful real world skills a professional programmer can have
Consider it a learning experience, and make yourself available when/if other projects are mentioned. If nothing else, consider it training for a future position. Quitting right away will only look bad down the road to future employers.