Yes product- though we didn't have project management to speak of. So, both.
A project manager's key role is to save money on developers. It's a hugely cost efficient role when done well.
A product manager's job is to ensure the product meets customer needs/requirements. Having them do menial tasks to remove roadblocks for developers is totally orthogonal to their most important tasks.