do not always strip 'term=' from product

This PR fixes a problem where part of the `product` attribute was trimmed while actually making sense in some context. Also, the terminal character of the resulting product string was cut off. Reverted now.