I recently bought a used bike that had a rack attached to it. Until last night I didn't notice this strangely shaped part on one of the sides of the rack (circled in purple in the picture). This isn't on the other side and it isn't on the rack on my other bike or the rack on my roommates bike either. I believe that this piece was partially responsible for the issues I had attaching panniers to my rack.
My question is what is this and what purpose does it serve/why is it a part of my rack?
Edit to add photo of top portion of frame pump holder as well.