A tube should not have excess length, and doubling on itself will cause the tire to feel uneven while riding, as well as increase the likelihood of flats.
Assuming the tube is the correct size for the tire, as you said it was, there are 2 common causes for this problem.
If you installed the tube without inflating it first, just a tiny amount, then it hasn't got the shape to sit in the tire completely, and it will appear to be too long. It isn't, just add enough air to the tube to give it a little shape and try it again.
If you did that already, then in the process of inflating the tube to make easier to install in the tire, you have probably inflated it too much, and so it has gotten larger. It's not permanent, just let the air out and inflate it only enough to give it shape before installing it in the tire.
If these don't work, there is likely a problem in manufacturing, and you should get the tube exchanged.
I've personally seen a tube too-long when not inflated, turn into "perfect fit" with just a bit of air in it; just enough air to give it a circular shape if you lay it on the floor. I just blow lightly into the open presta valve - no need to use a pump.
And push the tube into the cavity of the tire, don't try to "seat" it on the rim. (caveat: my experience is with larger MTB tubes & tires)
Some (many) tubes are made to fit too wide a range of tire sizes and will tend to be a bit on the long side inside some tires. One should make a point to only inflate the tube enough to fill it out before installing (so as not to stretch it further), then make sure during installation that it's not buckled or doubled on itself at any point inside the tire.
If the tube is buckled/doubled anywhere not only will you have a "lump" while riding, you'll also have a flat tire in a few dozen miles of riding.